package cash.cmp.personal_financial_system.model.account;

public class Graph {
    String duration;
    double sum;

    public Graph() {
    }

    public Graph(String duration, double sum) {
        this.duration = duration;
        this.sum = sum;
    }

    @Override
    public String toString() {
        return "Graph{" +
                "duration='" + duration + '\'' +
                ", sum=" + sum +
                '}';
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }
}
